#include<stdio.h>
#include<math.h>
#include<string.h>
#include<stdlib.h>
#include<time.h>
#include<ctype.h>

int main() {
    freopen("sort3.in","r",stdin);
    int a,b,c;

    while(3==scanf("%d%d%d",&a,&b,&c)) {
        int t;
        if(a>b){t=a;a=b;b=t;}
        if(b>c){t=b;b=c;c=t;}
        if(a>b){t=a;a=b;b=t;}

        printf("%d %d %d\n",a,b,c);
    }

    return 0;
}
